$(document).ready(function(){
    $("#search").click(function(){
        var content = $("#search-input").val()
        if (content === "") {
            alert("请输入搜索信息")
        } else {
            window.location.href="SearchDecompose.html?" + "content=" + encodeURI(content);
        }

    });
});